package com.ibm.risk.irmp.rule.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.Collection;


@EqualsAndHashCode(callSuper = true)
@Data
public class RuleResult<T> extends RuleSumResult {
    private Collection<T> dataList = new ArrayList<T>();

    public void addData(T data) {
        this.dataList.add(data);
    }
}
